/**
 * 主页
 */
import React from "react";
import { Tabs } from "antd";
import type { TabsProps } from "antd";
import Check from "@/pages/check/index";
import Details from "@/pages/pcList/index";
import ChangeList from "@/pages/changeList/index";
import Config from "@/pages/config/index";
import Style from "@/pages/styleList/index";

const items: TabsProps["items"] = [
  {
    key: "sbxq",
    label: `电脑设备`,
    children: <Details />,
  },

  {
    key: "style",
    label: `自定义设备`,
    children: <Style />,
  },
  {
    key: "bgjl",
    label: `变更数据`,
    children: <ChangeList />,
  },
  {
    key: "yjpd",
    label: `硬件盘点`,
    children: <Check />,
  },
  {
    key: "sz",
    label: `设置`,
    children: <Config />,
  },
];

const App: React.FC = () => {
  //获取电脑设备分类

  return <Tabs defaultActiveKey="sbxq" items={items} />;
};

export default App;
